package com.zzz.product.mapper;

import com.zzz.product.mode.ProductInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;

/*
 * @author zzr
 * @date: 2025/10/15  17:18
 * @description:
 */
@Mapper
public interface ProductMapper {

    @Select("select * from product_detail where id = #{productId}")
    ProductInfo selectProductById(Integer productId);
}
